class  Student:
    def __init__(self):
        print("执行了构造方法")

    def __del__(self):
        print("执行了析构方法")


s = Student()



